package com.lyn.pluginbazaar.config;

import org.hibernate.dialect.MySQL5InnoDBDialect;
import org.springframework.stereotype.Component;

/**
 * @author almost
 */
@Component
@SuppressWarnings("deprecation")
public class MySqlDialectUtf8 extends MySQL5InnoDBDialect {

    @Override
    public String getTableTypeString() {
        return " ENGINE=InnoDB DEFAULT CHARSET=utf8mb4";
    }
}